{% extends "base.jinja" %}

{% block title %}Git ingest API{% endblock %}

{% block content %}
<div class="relative">
    <div class="w-full h-full absolute inset-0 bg-black rounded-xl translate-y-2 translate-x-2"></div>
    <div class="bg-[#fff4da] rounded-xl border-[3px] border-gray-900 p-8 relative z-20">
        <h1 class="text-3xl font-bold text-gray-900 mb-4">API Documentation</h1>


        <div class="prose prose-blue max-w-none">
            <div class="bg-yellow-50 border-[3px] border-gray-900 p-4 mb-6 rounded-lg">
                <div class="flex">
                    <div class="flex-shrink-0">
                        <svg class="h-5 w-5 text-yellow-400" viewBox="0 0 20 20" fill="currentColor">
                            <path fill-rule="evenodd"
                                d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"
                                clip-rule="evenodd" />
                        </svg>
                    </div>
                    <div class="ml-3">
                        <p class="text-sm text-gray-900">
                            The API is currently under development..
                        </p>
                    </div>
                </div>
            </div>
            <p class="text-gray-900">
                We're working on making our API available to the public.
                In the meantime, you can
                <a href="https://github.com/cyclotruc/gitingest/issues/new" target="_blank"
                    rel="noopener noreferrer" class="text-[#6e5000] hover:underline">
                    open an issue on github
                </a>
                to suggest features.
            </p>
        </div>
    </div>
</div>
{% endblock %}